﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Templates_OurPeople_Default" %>
<%@ Register TagPrefix="uc" TagName="ExploreMain" Src="~/Templates/Person/ExploreMain.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="fullWidth">
        <h1><acms:PostDisplayName runat="server" /></h1>
        
        <asp:ListView ID="listFeeEarners" runat="server" GroupItemCount="3" DataSourceID="dsFeeEarners">
            
            <LayoutTemplate>
                <div class="exploreModule clearfix">
                    <h2 class="moduleTitle"><asp:Literal ID="litTitle" Text="Fee Earners" runat="server" /></h2>
                    <asp:PlaceHolder ID="groupPlaceholder" runat="server" />
                </div>
            </LayoutTemplate>
            
            <GroupTemplate>
                <div class="exploreModuleRow clearfix">
                    <asp:PlaceHolder id="itemPlaceHolder" runat="server" />
                </div>
            </GroupTemplate>
            
            <ItemTemplate>
                <div class="exploreModuleItem">
                    <acms:SubTemplateLoader ID="loader" TemplateFileName="ExploreMain" DevTemplatePaths="~/Templates/Person/ExploreMain.ascx" runat="server" />
                </div>
            </ItemTemplate>
        
        </asp:ListView>
        
        <asp:ListView ID="listAdministrators" runat="server" GroupItemCount="3" DataSourceID="dsAdmin">
            
            <LayoutTemplate>
                <div class="exploreModule clearfix">
                    <h2 class="moduleTitle"><asp:Literal ID="litTitle" Text="Administration Team" runat="server" /></h2>
                    <asp:PlaceHolder ID="groupPlaceholder" runat="server" />
                </div>
            </LayoutTemplate>
            
            <GroupTemplate>
                <div class="exploreModuleRow clearfix">
                    <asp:PlaceHolder id="itemPlaceHolder" runat="server" />
                </div>
            </GroupTemplate>
            
            <ItemTemplate>
                <div class="exploreModuleItem">
                    <acms:SubTemplateLoader ID="loader" TemplateFileName="ExploreMainNoLink" DevTemplatePaths="~/Templates/Person/ExploreMain.ascx" runat="server" />
                </div>
            </ItemTemplate>
            
        </asp:ListView>
    </div>
    
    <acms:PostDataSource ID="dsFeeEarners" runat="server" />
    <acms:PostDataSource ID="dsAdmin" runat="server" />
    
</asp:Content>